import request from "@/utils/request";

// 获取路由
// export const getRouters = () => {
//   return request({
//     url: '/getRouters',
//     method: 'get'
//   })
// }
export const getLines = (params) => {
  return request({
    url: `/system/radiusAccountOnline/queryMonitorInfo`,
    params: params,
    method: "get",
  });
};
export const getComputers = () => {
  return request({
    url: `/system/radiusAccountOffline/queryRadiusTcrlist`,
    method: "get",
  });
};
// export const getVpns = (params) => {
//   return request({
//     url:`/system/radiusLog/selectRadiusVpnList`,
//     params: params,
//     method: "get",
//   });
// };
export const getVpns = (params) => {
  return request({
    url: `/system/radiusLog/queryNasIpLists`,
    params: params,
    method: "get",
  });
};
